package com.block.datapush.form.service;

import com.alibaba.fastjson.JSONObject;
import com.block.datapush.model.dto.FormPushResultDTO;
import com.block.db.entity.FormInfo;
import com.block.db.entity.FormInfoHis;
import com.block.db.entity.MemberExtInfo;

public interface IFormPushHandle {

    /**
     * 查询 撞库结果
     * @return
     */
    boolean queryMatchResult(FormInfo formInfo, MemberExtInfo memberExtInfo) throws Exception;

    /**
     * 用户信息推送
     */
    FormPushResultDTO pushMemberInfo(FormInfo formInfo, MemberExtInfo memberExtInfo, String orderNo, JSONObject extObject) throws Exception;


    /**
     * 推送完成
     * 进行的一些处理
     */
    void afterPushHandle(FormInfoHis formInfoHis);

}
